package com.hanyxx.annotaion;

/**
 * @author 菠菜饭团
 * @description: TODO
 */
public class Calculator {

    @check
    public void getSum(){
        System.out.println("加法执行...");
    }
    @check
    public void getMinus (){
        System.out.println("减法执行...");
    }
    public void getTimes(){
        System.out.println("乘法执行...");
    }
    @check
    public void getDivided(){
        int a = 5/0;
        System.out.println("除法执行...");
    }
    @check
    public String getString(){
        String a = null;
        return a.toString();
    }
}
